#正向递增
s='helloworld'
for i in range(0,len(s)):
    print(i,s[i],end='\t\t')

print('\n---------')
#反向递减
for i in range(-10,0):  #从正向的最后边从-1开始
    print(i,s[i],end='\t\t')
